<template>
	<view class="content">
		<view class="row">
			<view class="col">
				<navigator url="/pages/main/shutiao"></navigator>
				<image src="../../static/薯条.jpg"></image>
				<text>薯条</text>
				<text>售价：￥10.00 <image src="../../static/cart.jpg" class="cart-logo"></image></text>
			</view>
			<view class="col">
				<image src="../../static/牛肉汉堡包.png"></image>
				<text>牛肉汉堡</text>
				<text>售价：￥20.00 <image src="../../static/cart.jpg" class="cart-logo"></image></text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.row{
		display: flex;
		flex-direction: row;
	}
	.col{
		margin-top: 15rpx;
		margin-bottom: 15rpx;
		margin-left: 15rpx;
		margin-right: 15rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.col image{
		width: 300rpx;
		height: 250rpx;
	}
	.col .cart-logo{
		width: 30rpx;
		height: 30rpx;
	}
</style>